package com.darren.archive.dao;

import com.darren.archive.entity.SysDepartment;
import com.darren.framework.dao.GenericDao;

import java.util.List;

public interface SysDepartmentDao extends GenericDao<SysDepartment, Long> {

    /**
     * 根据部门名称，获取系统部门树型结构
     *
     * @param departmentName 系统菜单名称，用于模糊查询
     * @return
     */
    List<SysDepartment> getSysDepartmentByName(String departmentName);


}
